package com.shameit.goodqrinfomanager.bean.litepal;

import com.example.mylibrary.BaseModel;
import com.google.gson.annotations.SerializedName;

import org.litepal.annotation.Column;
import org.litepal.crud.LitePalSupport;

import java.io.Serializable;

public class ChanPin extends LitePalSupport implements Serializable, BaseModel {
    @SerializedName("cpid")
    private int id;
    @SerializedName("id")
    private long cpid;

    private String productName;
    private String productSpect;
    private String productNumbs;

    @Column(nullable = false)
    private String productCode;//产品编号
    private String brandName;
    private String brandCode;
    private String desp;
    private String productionLicenseCode;
    private String executiveStandardCode;
    private String isUndc;


    public ChanPin(long cpid, String productName, String productSpect, String productNumbs, String productCode, String brandName, String brandCode, String desp, String productionLicenseCode, String executiveStandardCode, String isUndc) {
        this.cpid = cpid;
        this.productName = productName;
        this.productSpect = productSpect;
        this.productNumbs = productNumbs;
        this.productCode = productCode;
        this.brandName = brandName;
        this.brandCode = brandCode;
        this.desp = desp;
        this.productionLicenseCode = productionLicenseCode;
        this.executiveStandardCode = executiveStandardCode;
        this.isUndc = isUndc;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getId() {
        return id;
    }

    public long getCpid() {
        return cpid;
    }

    public void setCpid(long cpid) {
        this.cpid = cpid;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductSpect() {
        return productSpect;
    }

    public void setProductSpect(String productSpect) {
        this.productSpect = productSpect;
    }

    public String getProductNumbs() {
        return productNumbs;
    }

    public void setProductNumbs(String productNumbs) {
        this.productNumbs = productNumbs;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public String getBrandCode() {
        return brandCode;
    }

    public void setBrandCode(String brandCode) {
        this.brandCode = brandCode;
    }

    public String getDesp() {
        return desp;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }

    public String getProductionLicenseCode() {
        return productionLicenseCode;
    }

    public void setProductionLicenseCode(String productionLicenseCode) {
        this.productionLicenseCode = productionLicenseCode;
    }

    public String getExecutiveStandardCode() {
        return executiveStandardCode;
    }

    public void setExecutiveStandardCode(String executiveStandardCode) {
        this.executiveStandardCode = executiveStandardCode;
    }

    public String getIsUndc() {
        return isUndc;
    }

    public void setIsUndc(String isUndc) {
        this.isUndc = isUndc;
    }
}
